package main
import (
	"fmt"
	// "math"
)
//循环计算平方根
func sqrt(x float64){
	v := 1
	for z := float64(1); v <= 10; v++{
		z -= (z*z - x)/(2*z)
		fmt.Printf("计算所得的平方根为:%v\n",z)
	}
}
func main(){
	sqrt(64)
}

